package com.cake.dao;

import java.util.List;

import com.cake.dao.base.IBaseDao;
import com.cake.entity.XxSpecificationValue;
import com.cake.entity.pojo.SpecificationValuePojo;

public interface XxSpecificationValueMapper extends IBaseDao<XxSpecificationValue> {
    int deleteByPrimaryKey(Long id);

    int insert(XxSpecificationValue record);

    int insertSelective(XxSpecificationValue record);

    XxSpecificationValue selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(XxSpecificationValue record);

    int updateByPrimaryKey(XxSpecificationValue record);
    /**
     * 通过商品id查询出商品规格详情的列表信息
     * @param productId
     * @return
     */
    List<SpecificationValuePojo> selectSpecificationValuesByProductId(Long productId);
}